package compose;

public class MenuTestDrive {

    public static void main(String[] args) {
        MenuComponent pancakeHouseMenu = new Menu("pancake house menu", "breakfast");
        MenuComponent dinerMenu = new Menu("diner menu", "lunch");
        MenuComponent cafeMenu = new Menu("cafe menu", "dinner");
        MenuComponent dessertMenu = new Menu("dessert menu", "dessert");


        MenuComponent allMenus = new Menu("All menu", "all");

        allMenus.add(pancakeHouseMenu);
        allMenus.add(dinerMenu);
        allMenus.add(cafeMenu);
        allMenus.add(dessertMenu);


        dinerMenu.add(new MenuItem(
                "pasta",
                "jdhjhal jdkada dw",
                true,
                3.23
        ));


        dinerMenu.add(dessertMenu);

        dessertMenu.add(new MenuItem(
                "apple pie",
                "sds",
                true,
                .26
        ));

        Waitress waitress = new Waitress(allMenus);

        waitress.printMenus();

        waitress.printVegetarianMenus();
    }

}
